<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sales_representative')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sales_representative" class="form-control" name="row[sales_representative]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_of_visit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_of_visit" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[date_of_visit]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sex_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="sexDataList" item="vo"}
            <label for="row[sex_data]-{$key}"><input id="row[sex_data]-{$key}" name="row[sex_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact" class="form-control" name="row[contact]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Required_area')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-required_area" class="form-control" name="row[required_area]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Position_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="positionDataList" item="vo"}
            <label for="row[position_data]-{$key}"><input id="row[position_data]-{$key}" name="row[position_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Look_at_the_community')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-look_at_the_community" class="form-control" name="row[look_at_the_community]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Architectural_style_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="architecturalStyleDataList" item="vo"}
            <label for="row[architectural_style_data]-{$key}"><input id="row[architectural_style_data]-{$key}" name="row[architectural_style_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Architectural_form_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="architecturalFormDataList" item="vo"}
            <label for="row[architectural_form_data]-{$key}"><input id="row[architectural_form_data]-{$key}" name="row[architectural_form_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gardens_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="gardensDataList" item="vo"}
            <label for="row[gardens_data]-{$key}"><input id="row[gardens_data]-{$key}" name="row[gardens_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Garage_num_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="garageNumDataList" item="vo"}
            <label for="row[garage_num_data]-{$key}"><input id="row[garage_num_data]-{$key}" name="row[garage_num_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price_willingness')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price_willingness" class="form-control" name="row[price_willingness]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Real_estate_cycle_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="realEstateCycleDataList" item="vo"}
            <label for="row[real_estate_cycle_data]-{$key}"><input id="row[real_estate_cycle_data]-{$key}" name="row[real_estate_cycle_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_method_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="payMethodDataList" item="vo"}
            <label for="row[pay_method_data]-{$key}"><input id="row[pay_method_data]-{$key}" name="row[pay_method_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Number_of_properties')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-number_of_properties" data-rule="required" class="form-control selectpicker" name="row[number_of_properties]">
                {foreach name="numberOfPropertiesList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Visiting_route_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="visitingRouteDataList" item="vo"}
            <label for="row[visiting_route_data]-{$key}"><input id="row[visiting_route_data]-{$key}" name="row[visiting_route_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Make_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-make_num" class="form-control" name="row[make_num]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_demand_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="purchaseDemandDataList" item="vo"}
            <label for="row[purchase_demand_data]-{$key}"><input id="row[purchase_demand_data]-{$key}" name="row[purchase_demand_data]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entangled_reasons')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-entangled_reasons" class="form-control " rows="5" name="row[entangled_reasons]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Watch_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-watch_status" class="form-control " rows="5" name="row[watch_status]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
